package com.SunSoft.PhoneRemoteControl;

import android.app.ProgressDialog;
import android.os.Handler;
import android.os.Message;
import java.util.TimerTask;

final class ep extends TimerTask
{
  public final void run()
  {
    boolean bool;
    if (Show_Control.q(this.a) != null)
      Show_Control.q(this.a).dismiss();
    this.a.C = false;
    Show_Control.a(Show_Control.b(this.a));
    Show_Control.b(Show_Control.b(this.a));
    Show_Control.b(this.a).c();
    try
    {
      Thread.sleep(200L);
      Show_Control.a("Test", "录音停止,开始解码");
      cancel();
      if (!(MainControl.f))
        break label128;
      bool = this.a.d();
      if (!(bool))
        break label139;
      Message localMessage1 = new Message();
      localMessage1.what = 3;
      this.a.aG.sendMessage(localMessage1);
      label128: label139: return;
    }
    catch (InterruptedException localMessage2)
    {
      while (true)
      {
        while (true)
          localInterruptedException.printStackTrace();
        bool = this.a.c();
      }
      Message localMessage2 = new Message();
      localMessage2.what = 4;
      this.a.aG.sendMessage(localMessage2);
    }
  }
}